export const tools = [
  {
    type: 'drag',
    icon: 'drag',
    name: '拖拽'
  },
  {
    type: 'connection',
    icon: 'fork',
    name: '连线'
  },
  {
    type: 'save',
    icon: 'save',
    name: '保存流程'
  },
  // {
  //   type: 'picture',
  //   icon: 'picture',
  //   name: '生成流程图'
  // },
  {
    type: 'delete',
    icon: 'delete',
    name: '重新绘制'
  },
  {
    type: 'setting',
    icon: 'setting',
    name: '设置'
  },
  {
    type: 'book',
    icon: 'book',
    name: '快捷键大全'
  },
  {
    type: 'logout',
    icon: 'logout',
    name: '退出'
  }
]

export const commonNodes = [
  {
    type: 'start',
    nodeName: '开始',
    icon: 'play-circle'
  },
  {
    type: 'end',
    nodeName: '结束',
    icon: 'stop'
  },
  {
    type: 'common',
    nodeName: '人工节点',
    icon: 'user'
  },
  {
    type: 'freedom',
    nodeName: '自动节点',
    icon: 'sync'
  },
  {
    type: 'gateway',
    nodeName: '网关',
    icon: 'gateway'
  },
  {
    type: 'event',
    nodeName: '事件节点',
    icon: 'event'
  }
]

export const highNodes = [
  {
    type: 'child-flow',
    nodeName: '子流程',
    icon: 'ChildFlowIcon'
  }
]

export const laneNodes = [
  {
    type: 'x-lane',
    nodeName: '横向泳道',
    icon: 'XLaneIcon'
  },
  {
    type: 'y-lane',
    nodeName: '纵向泳道',
    icon: 'YLaneIcon'
  }
]
